package com.lizhi.yun.db.rsz.entity;/**
 * @program: hbsf
 * @name RszPrescriptionItemEntity
 * @description: 处方动作集合
 * @author: lizhi
 * @create: 2021-08-20 14:46
 */

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 *@program: hbsf
 *@name RszPrescriptionItemEntity
 *@description: 处方动作集合
 *@author: lizhi
 *@create: 2021-08-20 14:46
 */
@Data
@ToString
@Table(name = "rsz_prescription_item")
@Entity
@Description("处方动作集合表")
public class RszPrescriptionItemEntity extends AbstractVrEntity {

    @Id
    @Column(columnDefinition="varchar(30) COMMENT 'lid'")
    @Description("lid")
    public String lid;

    @Column(columnDefinition="varchar(30) COMMENT '处方动作集合id'")
    public String itemId;

    @Column(columnDefinition="varchar(30) COMMENT '处方id'")
    public String preId;

    @Column(columnDefinition="varchar(30) COMMENT '轨迹id'")
    public String traId;

    /**
     * @see com.lizhi.yun.db.rsz.enums.RszItemTypeEnum
     */
    @Column(columnDefinition="varchar(2) COMMENT '轨迹类型'")
    public String itemType;

    @Description("固定轨迹编号")
    public String itemNo;

    @Column(columnDefinition="varchar(500) COMMENT '设置的速度（01慢/02中/03快）'")
    public String itemSpeed;

    @Column(columnDefinition="varchar(500) COMMENT '设置的参数(大、小、中、长度、半径)'")
    public String itemPara;

    @Column(columnDefinition="int(11) COMMENT '序号'")
    public Integer itemOrder;


    @Transient
    @Description("固定轨迹")
    public RszTrajectoryInfoEntity trajectoryInfoEntity;

    @Transient
    @Description("自定义轨迹")
    public RszTrajectorySelfEntity trajectorySelfEntity;
}
